{extend name="public/base" /} {block name="body"}
<div class="content-tabs">
	<ol class="breadcrumb">
		<li>
			<a href="{:url('index/index')}"><i class="fa fa-home"></i></a>
		</li>
		<li><strong>收货地址列表</strong></li>
	</ol>
</div>
<div class="ibox float-e-margins">
	<div class="ibox-content">
		<form id="myForm" class="form-horizontal m-t" method="post" action="{:url('index')}">	
			<div class="form-group">
					用户名称<input type="text" id="realname" name="realname" value="" placeholder="请输入用户名称" class="bank" />
			
				
					手机号码<input type="text" id="mobile" name="mobile" value="" placeholder="请输入手机号" class="bank" />
					<span ><button type="submit" class="btn btn-sm btn-primary"> 查询</button> </span>
				
			</div>
		</from>
		<div class="hr-line-dashed"></div>
            <div class="example-wrap">
                <div class="example">
                    <table class="table table-bordered table-hover">
                        <thead>
                            <tr class="long-tr">
                                <th>用户</th>
                                <th>手机号码</th>
                                <th>省份</th>
								<th>城市</th>
                                <th>地区</th>
                                <th>收货地址</th>
                            </tr>
                        </thead>
                        <tbody id="list">
                        	{volist name="list" id='ad'}
                        	<tr>
                        		<td>{$ad.realname}</td>
                        		<td>{$ad.mobile}</td>
                        		<td>{$ad.province}</td>
                        		<td>{$ad.city}</td>
                        		<td>{$ad.district}</td>
                        		<td>{$ad.address}</td>
                        	</tr>
                        	{/volist}
                        </tbody>
                    </table>
                    <div style="text-align: right;">
                      {$list->render()}
                    </div>
                </div>
            </div>
            </div>
</div>
{/block} {block name="script"}
<style>
.bank{
	width: 150px;
    height:30px;
    text-align:center;
    border-radius:5px;
}
</style>
{/block}